#!/bin/bash

mkdir -p experiments/todo
mkdir -p experiments/results
i=1000
date=`date +"%Y-%m-%d"`
for size in `echo 1 10 30 100 300` ; do
        for lang in `ls conll/data | grep danish` ; do
                for exp in `cd experiments ; ls exp-*` ; do
                        i=$(($i + 1))
                        file="experiments/todo/$date-$i-$lang-$size.sh"
                        echo "#!/bin/bash" > $file
                        echo "echo" >> $file
                        echo "echo ===== experiments/$exp $lang $size =====" >> $file
                        echo "echo" >> $file
                        echo "sleep 5" >> $file
                        echo "sh experiments/$exp $lang $size" >> $file
                        echo "echo" >> $file
                        echo "sleep 10" >> $file
                done
        done
done

